package com.bw.service.impl;

import com.bw.entity.Roleadm;
import com.bw.entity.TbUser;
import com.bw.mapper.PortMapper;
import com.bw.service.PortService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PortServiceImp implements PortService {

    @Autowired
    private PortMapper studentMapper;

    @Override
    public TbUser login(TbUser tbUser) {
        return studentMapper.login(tbUser);
    }

    @Override
    public List portlist(String mohu) {
        return this.studentMapper.portlist(mohu);
    }

    @Override
    public List rolelist(String mohu) {
        return this.studentMapper.rolelist(mohu);
    }

    @Override
    public Roleadm admadds(Roleadm roleadm) {
        return this.studentMapper.admadds(roleadm);
    }

    @Override
    public String[] del(String id) {
        return this.studentMapper.admdel(id);
    }

    @Override
    public Roleadm findByadma(int id) {
        return this.studentMapper.findByadma(id);
    }

    @Override
    public void updateByadmaKey(Roleadm adma) {
        this.studentMapper.updateByadmaKey(adma);
    }

    @Override
    public List portcontext(int qxqid) {
        return this.studentMapper.portcontext(qxqid);
    }

    @Override
    public List rcport(int rcid, int pdid) {
        return this.studentMapper.rcport(rcid,pdid);
    }

    @Override
    public List ccport(int ccid, int pdid) {
        return this.studentMapper.ccport(ccid,pdid);
    }

    @Override
    public List requesthead(int shicid, int interid) {
        return this.studentMapper.requesthead(shicid,interid);
    }

    @Override
    public List requestbody(int shicid, int interid) {
        return this.studentMapper.requestbody(shicid,interid);
    }

    @Override
    public List Successorfailure() {
        return this.studentMapper.Successorfailure();
    }


}
